from flask import Blueprint
from flask_restplus import Api
from .register.views import ns as register
from .goods.api import ns as goods


blueprint = Blueprint('api', __name__, url_prefix="/api/v1")
api = Api(blueprint,
          title="goods api",
          version="1.0",
          description="My Description")

api.add_namespace(register)
api.add_namespace(goods)
